using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Nojin.Deployment;

namespace DeploymentManifestBuilder
{
    public partial class EntryForm : Form
    {
        public EntryForm()
        {
            InitializeComponent();

            comboBoxInstallAction.DataSource = Enum.GetNames(typeof(InstallAction));
        }

        public string FileName
        {
            get
            {
                return textBoxUri.Text;
            }
            set
            {
                textBoxUri.Text = value;
            }
        }

        public InstallAction InstallAction
        {
            get
            {
                return (InstallAction)Enum.Parse(typeof(InstallAction), (string)comboBoxInstallAction.SelectedItem);
            }
            set
            {
                comboBoxInstallAction.SelectedItem = value.ToString();
            }
        }


    }
}